//
//  HomeAnimeModel.swift
//  KkmhSwift
//  动漫 几话 模型
//  Created by tenltrs on 2018/11/12.
//  Copyright © 2018 Tenltrs. All rights reserved.
//

import UIKit

@objcMembers class HomeAnimeModel: NSObject {
    
    /// id
    var id : String?

    /// 动漫类别
    var label_text : String?
    
    /// 类别字体颜色
    var label_text_color : String?
    
    /// 类别背景色
    var label_color : String?
    
    /// 动漫当前话标题
    var title : String?
    
    /// 当前话点赞数
    var likes_count : NSNumber?
    
    /// 当前话评论数
    var comments_count : NSNumber?
    
    /// 封面地址
    var cover_image_url : String?
    
    /// 动漫主题信息
    private var _topic : KkmhTopicModel?
    var topic : KkmhTopicModel?{
        set{
            _topic = KkmhTopicModel.mj_object(withKeyValues: newValue)
        }
        get{
            return _topic
        }
    }
}
